package com.peng._05weibo.pojo.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import org.springframework.stereotype.Repository;

import java.util.Date;

/**
 * User用户类
 * @Author peng
 * @Date 2024-04-17 17:04
 */
@Data
@Builder
@ApiModel(value = "用户实体类")
public class User {
    @ApiModelProperty(value = "用户id",required = true)
    private long id;
    @ApiModelProperty(value = "用户名",required = true)
    private String username;
    @ApiModelProperty(value = "用户密码",required = true,example = "123456")
    private String password;
    @ApiModelProperty(value = "用户昵称")
    private String nickname;
    @ApiModelProperty(value = "用户创建时间")
    private Date created;
}
